#include<iostream>
#include<vector>
using namespace std;
class Person{
    public:
        Person(){ cout << "Person constructed" << endl; };
        ~Person(){ cout << "Person destroyed" << endl; };
    private:
        string name;
        string address;
};

class Student : public Person{
    public:
        Student(){ cout << "Student constructed" << endl; };
        ~Student(){ cout << "Student destroyed" << endl; };
    private:
        string schoolName;
        string schoolAddress;
};

int main(){
    Person *stu = new Student();
    delete stu;
}